package com.itheima.collectiondemo;

/**
 * @Author 王加鑫
 * @Date 2021/5/13 16:34
 * @Version 1.0
 */
public class StackTest {
    public static void main(String[] args) {
        MyStack stack = new MyStack();
        stack.push("aaa");
        stack.push("java");
        stack.push("hello");
        System.out.println(stack.pop());
        System.out.println(stack.pop());
        System.out.println(stack.pop());
    }
}
